/**
 * @Title: OrderRefund
 * @Package cn.com.yiqi.wsc.entity.order
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-林威
 * @date 2017/3/15 10:47
 * @version V1.0
 */
package cn.com.yiqi.wsc.entity.order;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 会员系统组-林威
 * @ClassName: OrderRefund
 * Description: TODO
 * @date 2017/3/15 10:47
 */
public class OrderRefund {

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 退款单编号
     */
    private String code;

    /**
     * 客户id
     */
    private Integer customerId;

    /**
     * 子订单ID
     */
    private Integer orderSubId;

    /**
     * 纠纷类型 1_售中退款，2_售后退款，默认为售中退款
     */
    private Integer disputeType;

    /**
     * 退款类型 1退款 2退货 3退货退款
     */
    private Integer refundType;

    /**
     * 退款原因
     */
    private String refundReason;

    /**
     * 退货是否已收到货 0否 1是
     */
    private Integer isReceived;

    /**
     * 退货卖家收到货时间
     */
    private Date receivedTime;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 退款状态 -1拒绝退货 1待处理 2等待卖家收货 3等待卖家退款 4完成
     */
    private Integer status;

    /**
     * 退款关闭原因 1_客户退款申请被拒绝，2_客服申请退款被拒绝，3_退款成功，4_超时
     */
    private Integer refundCloseReason;

    /**
     * 退款申请时间
     */
    private Date applyTime;

    /**
     * 退款关闭时间
     */
    private Date completeTime;

    /**
     * 退款操作人ID
     */
    private Integer operatorId;

    /**
     * 退款说明
     */
    private String desc;

    /**
     * 新增时间
     */
    private Date insertTime;

    /**
     * 新增用户id
     */
    private Integer insertUserId;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 修改用户id
     */
    private Integer updateUserId;


    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getOrderSubId() {
        return orderSubId;
    }

    public void setOrderSubId(Integer orderSubId) {
        this.orderSubId = orderSubId;
    }

    public Integer getDisputeType() {
        return disputeType;
    }

    public void setDisputeType(Integer disputeType) {
        this.disputeType = disputeType;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public Integer getIsReceived() {
        return isReceived;
    }

    public void setIsReceived(Integer isReceived) {
        this.isReceived = isReceived;
    }

    public Date getReceivedTime() {
        return receivedTime;
    }

    public void setReceivedTime(Date receivedTime) {
        this.receivedTime = receivedTime;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRefundCloseReason() {
        return refundCloseReason;
    }

    public void setRefundCloseReason(Integer refundCloseReason) {
        this.refundCloseReason = refundCloseReason;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
}
